package com.ruibang.glass.material.service.fwk;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.material.domain.req.ycl.ManagementInventoryReq;
import com.ruibang.glass.material.entity.dzsb.MaterialDZSBManagementInventory;
import com.ruibang.glass.material.entity.fwk.MaterialFWKManagementInventory;
import com.ruibang.glass.material.entity.gj.MaterialGJManagementInventory;
import com.ruibang.glass.material.entity.ycl.MaterialManagementInventory;

/**
 * <p>
 * 物料管理入库表 服务类
 * </p>
 *
 * @author mameng
 * @since 2024-04-01
 */
public interface MaterialFWKManagementInventoryService extends IService<MaterialFWKManagementInventory> {
    /**
     * 列表查询
     * @param managementInventoryReq
     * @return
     */
    IPage<MaterialFWKManagementInventory> getPage(ManagementInventoryReq managementInventoryReq);

    void updateStatusById(MaterialFWKManagementInventory materialManagementInventory);

    String saveMaterialManagementInventory(MaterialFWKManagementInventory materialManagementInventory);

    MaterialFWKManagementInventory getDetail(String id);
    /**
     * 入库计算
     * @param materialManagementInventory
     */
    void updateInHouse(MaterialFWKManagementInventory materialManagementInventory);

    void updateMaterialFWKManagementInventory(MaterialFWKManagementInventory materialManagementInventory);
}
